package service

import (
	"seat-service/initialization"
	"seat-service/model"
)

type CampusService struct {
}

func (*CampusService) Get(id uint) (campus model.Campus, err error) {
	err = initialization.DB.Where("id = ?", id).Find(&campus).Error
	return
}
